import request from "@/axios"

//根据日期查询记录
export function searchCommission(year,month) {
    let url = `/api/account/commission`
    let params = {
        year,
        month,
        page:1,
        limit:20
    }
    return request.get(url, {params})
}

//查询粉丝数与推广数
export function searchFansNum(){
    let url = 'api/user/nowUserInfo'
    return request.get(url)
}
